package com.ice.netty.modbus.data;

/**
 * 刷卡指令
 * @Author wangwei
 * @Date 2024/1/22
 */
public class SwipeCardData extends MiiServerBaseData {
    // 卡号
    private String cardNo;

    public SwipeCardData(byte[] datas) {
        super(datas);

        this.decode();
    }

    private void decode() {
        this.cardNo = this.contentStr;
    }

    public String getCardNo() {
        return cardNo;
    }
}
